<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">

		// var x = prompt("你的生日是哪年哪月哪天");
		
		// birthday= new Date(x);

		// birthdayTime = birthday.getTime()/1000;

		// now  = new Date();

		// nowTime = now.getTime()/1000;

		// diffDate = (nowTime-birthdayTime)/(24*3600);

		// document.write("你已经活了："+diffDate+"<br>");

		// if(diffDate>8000){
		// 	document.write("你老了<br>");
		// }

		// diff = 80*365-diffDate;

		// document.write("你还有"+diff+"天可以活");



		str = new Date('1986-12-25');

		year = str.getFullYear();

		month = str.getMonth()+1;

		days = str.getDate();

		birthday = year+60;

		x = birthday+"-"+month+"-"+days;

		obj = new Date(x);

		// document.write(obj.getDay());


		arr = [35,234,3452,2,2,2,635,3,234];

		for (var i = 0; i <arr.length; i++) {
			for (var j = i+1; j <arr.length; j++) {
				if(arr[i]==arr[j]){
					document.write(arr[j]+"<br>");
				}
			};
		};

		document.write(tempArr);


		// x = 90;

		// function abc (argument) {
		// 	// body...
		// }
















	</script>
</head>
<body>
	
</body>
</html>